package com.yrot.admin.dto;

import com.yrot.common.utils.IdentifierValidate;
import com.yrot.common.utils.PhoneValidate;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * Created by hemin on 2018/11/27.
 */
@Data
public class BindUser {


    @NotBlank(message = "姓名不能为空")
    private String username;
    @IdentifierValidate
    @NotBlank(message = "身份证号不能为空")
    private String identifier;

}
